<template>
<div>
<!--监听子组件的事件 score -->
<ChildCom @ score=" scoreHandler"/>
</div>
</template>
<script>
import ChildCom frm "./components/ChildCom. vue";
export default{
    components:{
        ChildCom,
    },
    methods:{
        scoreHandler(arg1,arg2){
            console.log(arg1,arg2);
        },
    },
};
</script>
<style scoped>
</style>